package io;

import org.junit.Test;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;

/**
 * @Author wangzhipeng
 * @Date 2020-08-19 4:59 下午
 * @Description
 */
public class BufferedCharIODemo {

    /**
     *  字符缓冲流
     */
    @Test
    public void demo() throws FileNotFoundException {
        BufferedReader bufferedReader = new BufferedReader(new FileReader("/Users/wangzhipeng/Desktop/a.txt"));
        // BufferedReader bufferedReader = new BufferedReader(in,sz); //in:字符输入流 sz:缓冲区域大小


    }
}
